/*
* Entourage
* Copyright 2011 INF532@Galatasaray University & Vincent Labatut 
* 
* This file is part of Entourage.
* 
* Entourage is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* 
* Entourage is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* 
* You should have received a copy of the GNU General Public License
* along with Entourage. If not, see <http://www.gnu.org/licenses/>.
* 
*/

package com.appspot.entourage.common;

/**
 * This is the common class to describe Persons
 * with their Full Names, Freebase Ids And URLs which describes themselves.
 * @author Berk PELENK <bpelenk@beengames.com>
 * @version 1
 *
 */
public class Person {

	private String fullname;
	private String guid;
	private String url;
	
	/**
	 * Class constructor.
	 * @param fullname a full name of the person
	 * @param guid freebase id of the person
	 * @param url web page which describes person (wikipedia url)
	 * @author Berk PELENK <bpelenk@beengames.com>
	 */
	public Person(String fullname, String guid, String url)
	{
		this.fullname = fullname;
		this.guid = guid;
		this.url = url;		
	}
	
	/**
	 * Get method for full name
	 * @return full name of the person
	 * @author Berk PELENK <bpelenk@beengames.com>
	 */
	public String getFullName()
	{
		return fullname;
	}
	
	/**
	 * Get method for freebase id
	 * @return the freebase id of the person
	 * @author Berk PELENK <bpelenk@beengames.com>
	 */
	public String getGuid()
	{
		return guid;		
	}
	
	/**
	 * Get method for url
	 * @return url of the web page which describes person (wikipedia url)
	 * @author Berk PELENK <bpelenk@beengames.com>
	 */
	public String getUrl()
	{
		return url;
	}

	/**
	 * @param fullname the fullname to set
	 */
	public void setFullname(String fullname) {
		this.fullname = fullname;
	}

	/**
	 * @param guid the guid to set
	 */
	public void setGuid(String guid) {
		this.guid = guid;
	}

	/**
	 * @param url the url to set
	 */
	public void setUrl(String url) {
		this.url = url;
	}
}
